<div class="breadcrumbs" id="breadcrumbs">
    <script type="text/javascript">
            try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
            jQuery(function($) {
                $("#footer").load("main/footer.html");
            });
        </script>
    <ul class="breadcrumb">
        <li>
            <i class="icon-home home-icon"></i>
            <a href="#index">首页</a>
        </li>
        <li class="active">权限管理</li>
        <li class="active">添加员工</li>
    </ul>
</div>
<div class="page-content" >
    <div class="row">
        <div class="col-xs-12">
            <form ng-submit="usrUpdate(usrManagement)" class="form-horizontal" role="form" id="usrForm">
                <!-- PAGE CONTENT BEGINS -->
                <div id="basediv">
                    <div class='row'></div>

                    <div class="widget-box" id="accordion">

                        <div class="widget-header">
                            <h4 class="widget-title" >
                                <i class="menu-icon fa fa-inbox"></i>
                                添加员工
                            </h4>

                            <div class="widget-toolbar">
                                <a data-toggle="collapse" data-parent="#accordion"
                                   href="./stm_usr_edit.html#collapseThree"> <i
                                        class="ace-icon fa fa-chevron-up"></i>
                                </a>
                            </div>
                        </div>
                        <div id="collapseThree">
                            <div class="widget-body">
                                <div class="widget-main" >
                                    <fieldset id="inverntoryDetailsFormFieldset">
                                        <div class="form-group">
                                            <label class="col-sm-1 control-label no-padding-right"
                                                   for="usrCode"> 员工编号</label>
                                            <div class="col-sm-5">
										 <span class="block input-icon input-icon-right"> <input
                                                 type="text"   ng-model="usrManagement.usrCode" id="usrCode" name="usrCode" class="form-control" value="{{ usrManagement.usrCode }}"/>
                                                </span>
                                            </div>

                                            <label class="col-sm-1 control-label no-padding-right"
                                                   for="realName">真实姓名</label>
                                            <div class="col-sm-5">
										  <span class="block input-icon input-icon-right"> <input
                                                  type="text"   ng-model="usrManagement.realName" id="realName" name="realName" class="form-control" value="{{ usrManagement.realName }}"/>
                                                </span>
                                            </div>

                                        </div>


                                        <div class="form-group">

                                            <label class="col-sm-1 control-label no-padding-right"
                                                   for="usrName"> 登录账号</label>
                                            <div class="col-sm-5">
                                                <span class="block input-icon input-icon-right"> <input
                                                    type="text"   ng-model="usrManagement.usrName" id="usrName" name="usrName" class="form-control" value="{{ usrManagement.usrName }}"/>
                                                </span>
                                            </div>
                                            <label class="col-sm-1 control-label no-padding-right"
                                                   for="usrPassword"> 登录密码 </label>
                                            <div class="col-sm-5">
                                                <span class="block input-icon input-icon-right"> <input
                                                        type="password"   ng-model="usrManagement.usrPassword" id="usrPassword" name="usrPassword" class="form-control" value="{{ usrManagement.usrPassword }}"/>
                                                </span>

                                            </div>
                                        </div>


                                        <div class="form-group">

                                            <label class="col-sm-1 control-label no-padding-right"
                                                   for="title">职称</label>
                                            <div class="col-sm-5">
                                                <span class="block input-icon input-icon-right"> <input
                                                        type="text"    ng-model="usrManagement.title" id="title" name="title" class="form-control" value="{{ usrManagement.title }}"/>

                                                </span>
                                            </div>

                                            <label class="col-sm-1 control-label no-padding-right" for="sex1"> 性别 </label>
                                            <div class="col-sm-5">
                                                    <input id="sex1" name="sex" type="radio" ng-model="usrManagement.sex" value="男" />男
                                                    <input type="radio" id="sex2" name="sex" type="radio" ng-model="usrManagement.sex" value="女" />女

                                            </div>
                                        </div>

                                        <div class="form-group">

                                            <label class="col-sm-1 control-label no-padding-right"
                                                   for="birthday"> 生日</label>
                                            <div class="col-sm-5">
                                                <span class="block input-icon input-icon-right"> <input
                                                        type="text"   ng-model="usrManagement.birthday" id="birthday" name="birthday" class="form-control" value="{{ usrManagement.birthday }}"/>
                                                </span>
                                            </div>
                                            <label class="col-sm-1 control-label no-padding-right"
                                                   for="tel"> 联系电话 </label>
                                            <div class="col-sm-5">
                                                <span class="block input-icon input-icon-right"> <input
                                                        type="text"   ng-model="usrManagement.tel" id="tel" name="tel" class="form-control" value="{{ usrManagement.tel }}"/>
                                                </span>

                                            </div>
                                        </div>

                                        <div class="form-group">

                                            <label class="col-sm-1 control-label no-padding-right"
                                                   for="address"> 联系地址</label>
                                            <div class="col-sm-5">
                                                <span class="block input-icon input-icon-right"> <input
                                                        type="text"   ng-model="usrManagement.address" id="address" name="address" class="form-control" value="{{ usrManagement.address }}"/>
                                                </span>
                                            </div>
                                            <label class="col-sm-1 control-label no-padding-right"
                                                   for="vipTel"> 手机号 </label>
                                            <div class="col-sm-5">
                                                <span class="block input-icon input-icon-right"> <input
                                                        type="text"   ng-model="usrManagement.vipTel" id="vipTel" name="vipTel" class="form-control" value="{{ usrManagement.vipTel }}"/>
                                                </span>

                                            </div>
                                        </div>

                                        <div class="form-group">
                                            <label class="col-sm-1 control-label no-padding-right"
                                                   for="remarks"> 备注</label>
                                            <div class="col-sm-11">
                                                <span class="block input-icon input-icon-right"> <input
                                                        type="text"   ng-model="usrManagement.remarks" id="remarks" name="remarks" class="form-control" value="{{ usrManagement.remarks }}"/>
                                                </span>
                                            </div>
                                        </div>

                                    </fieldset>

                                </div>
                            </div>
                        </div>

                    </div>
                </div>
                <div style="margin-left:450px">
                    <button type="submit"
                            class="btn btn-app btn-warning btn-xs" id="saveButton"> <i
                            class="ace-icon fa fa-floppy-o bigger-200"></i> 提交
                    </button>
                    <a href="#" ng-click="returnList()" class="btn btn-app btn-pink btn-xs"
                       id="returnButton"> <i class="ace-icon fa fa-reply bigger-200"></i>
                        返回
                    </a>
                </div>
            </form>
        </div>
    </div>
</div>
<script>
    $( "#birthday" ).fdatepicker({
			format: 'yyyy-mm-dd',
		});

</script>